package pers.cj.pdos.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import pers.cj.pdos.entity.HouseWaitIn;
import pers.cj.pdos.vo.HouseWaitInVo;
import pers.cj.pdos.vo.InGoodsVo;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 当全部入库时，会删除该记录 服务类
 * </p>
 *
 * @author chenj
 * @since 2020-01-13
 */
public interface IHouseWaitInService extends IService<HouseWaitIn> {
    List<HouseWaitInVo> listVo(String companyId,
                               Integer page,
                               Integer limit,
                               Integer status,
                               Integer type,
                               String search,
                               String no,
                               String goodsName,
                               String remark,
                               String unitName,
                               Date makeTime1,
                               Date makeTime2,
                               String makeUserId,
                               String userStoreId,
                               String userId,
                               Date date1,
                               Date date2,
                               String storeId,
                               String houseId);

    long count(String companyId,
               Integer status,
               Integer type,
               String search,
               String no,
               String goodsName,
               String remark,
               String unitName,
               Date makeTime1,
               Date makeTime2,
               String makeUserId,
               String userStoreId,
               String userId,
               Date date1,
               Date date2,
               String storeId,
               String houseId);

    HouseWaitInVo getVoById(String id);

    List<HouseWaitInVo> listVoByIds(List<String> ids);

    boolean checkWaitIn();
}
